﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WebGControlAdd.aspx.cs" Inherits="InnerPages_WebGControlAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <InfoLight:WebDataSource ID="wdsGroup" runat="server" DataMember="groupInfo" WebDataSetID="WGroup" AutoApply="True">
        </InfoLight:WebDataSource>
    
    </div>
        <table style="width: 100%; height: 350px">
            <tr>
                <td style="vertical-align: text-top; width: 214px; text-align: left">
        <InfoLight:WebFormView ID="wfvGroup" runat="server" AllValidateSucess="True" AutoEmptyDataText="False"
            DataHasChanged="False" DataSourceID="wdsGroup" InsertBack="False" KeyValues=""
            LayOutColNum="1" NeedExecuteAdd="True" OldPageIndex="-1" ValidateFailed="False" CellPadding="4" ForeColor="#333333">
            <EditItemTemplate>
                <table>
                    <tr>
                        <td>
                            <asp:Label ID="CaptionGROUPID" runat="server" Text="GROUPID:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="GROUPIDTextBox" runat="server" Text='<%# Bind("GROUPID") %>'>
                            </asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="CaptionGROUPNAME" runat="server" Text="GROUPNAME:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="GROUPNAMETextBox" runat="server" Text='<%# Bind("GROUPNAME") %>'>
                            </asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="CaptionDESCRIPTION" runat="server" Text="DESCRIPTION:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="DESCRIPTIONTextBox" runat="server" Text='<%# Bind("DESCRIPTION") %>'>
                            </asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="CaptionMSAD" runat="server" Text="MSAD:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="MSADTextBox" runat="server" Text='<%# Bind("MSAD") %>'>
                            </asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="CaptionISROLE" runat="server" Text="ISROLE:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="ISROLETextBox" runat="server" Text='<%# Bind("ISROLE") %>'>
                            </asp:TextBox>
                        </td>
                    </tr>
                </table>
            </EditItemTemplate>
            <InsertItemTemplate>
                <table>
                    <tr>
                        <td>
                            <asp:Label ID="CaptionGROUPID" runat="server" Text="GROUPID:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="GROUPIDTextBox" runat="server" Text='<%# Bind("GROUPID") %>'>
                            </asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="CaptionGROUPNAME" runat="server" Text="GROUPNAME:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="GROUPNAMETextBox" runat="server" Text='<%# Bind("GROUPNAME") %>'>
                            </asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="CaptionDESCRIPTION" runat="server" Text="DESCRIPTION:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="DESCRIPTIONTextBox" runat="server" Text='<%# Bind("DESCRIPTION") %>'>
                            </asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="CaptionMSAD" runat="server" Text="MSAD:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="MSADTextBox" runat="server" Text='<%# Bind("MSAD") %>'>
                            </asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="CaptionISROLE" runat="server" Text="ISROLE:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="ISROLETextBox" runat="server" Text='<%# Bind("ISROLE") %>'>
                            </asp:TextBox>
                        </td>
                    </tr>
                </table>
            </InsertItemTemplate>
            <ItemTemplate>
                <table>
                    <tr>
                        <td>
                            <asp:Label ID="CaptionIGROUPID" runat="server" Text="GROUPID:"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="GROUPIDLabel" runat="server" Text='<%# Bind("GROUPID") %>'></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="CaptionIGROUPNAME" runat="server" Text="GROUPNAME:"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="GROUPNAMELabel" runat="server" Text='<%# Bind("GROUPNAME") %>'></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="CaptionIDESCRIPTION" runat="server" Text="DESCRIPTION:"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="DESCRIPTIONLabel" runat="server" Text='<%# Bind("DESCRIPTION") %>'>
                            </asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="CaptionIMSAD" runat="server" Text="MSAD:"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="MSADLabel" runat="server" Text='<%# Bind("MSAD") %>'></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="CaptionIISROLE" runat="server" Text="ISROLE:"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="ISROLELabel" runat="server" Text='<%# Bind("ISROLE") %>'></asp:Label>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#999999" />
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        </InfoLight:WebFormView>
                    <br />
        <InfoLight:WebTranslate ID="wtGroup" runat="server" BindingObject="wfvGroup" DataSourceID="wdsGroup" OnOKClick="wtGroup_OKClick">
        </InfoLight:WebTranslate>
                    &nbsp;<asp:CheckBoxList ID="cblUser" runat="server" RepeatColumns="2" Width="20px">
        </asp:CheckBoxList><asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click"
            Text="Save" /></td>
                <td style="vertical-align: text-top; width: 80%">
                    <iframe id="accessFrame" frameborder="0" height="350" scrolling="auto" src="WebAccessMenu.aspx"
                        width="100%"></iframe>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
